#include <stdio.h>
#include <string.h>
#define SIZE	15

int strsize(char *c3)
{
	int i = 0;
	while (c3[i] != '\n' && i < SIZE){
//		if (c3[i] ==  ){
//			i--;
//		}
		i++;
	}
	return i;
}

int main()
{
	char c;
	char f[SIZE];
	int i = 0;
	printf("Enter a phrase not longer than 7 characters\n");
	while( c != '\n'){
		c = getchar();
		f[i] = c;
		i++;
		putchar(c);
	}
/*
	for(i = 0; i < SIZE -1; i++){
		c = getchar();
		f[i] = c;
	}
*/
	f[i] = '\0';
//	putchar(c);
	printf("%d", strsize(f));
}
